package com.bawei.mall.search.mapper;

import com.bawei.mall.search.domain.Po.Advertise;
import com.bawei.mall.search.domain.Po.Brand;
import com.bawei.mall.search.domain.Po.HomeFlashPromotion;
import com.bawei.mall.search.domain.Po.Product;

import java.util.List;

/**
 * @Author：liurui
 * @Package：com.bawei.mall.search.mapper
 * @Project：mall_cloud
 * @name：UserProductMapper
 */
public interface ProductMapper {
    List<Product> recommendProductList();


    List<Brand> content();

    List<Product> productList(Integer brandId);


    Integer findAll(Integer id);

    List<Advertise> findAdvertise();

    List<Product> findByFlashProductList();

    List<Product> findByHotProductList();


    List<Product> findByNewProductList();

    HomeFlashPromotion findByHomeFlashPromotion();

    Product detailVo(Integer id);

}
